//
//  TicketController.m
//  statistiscData
//
//  Created by zhaochengfeng on 2016/12/21.
//  Copyright © 2016年 bmwl. All rights reserved.
//

#import "TicketController.h"

@interface TicketController ()

@end

@implementation TicketController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"网售";
    NSString *dataStr = @"2016/12/08 23:34:22";
    NSDate *date = [HCCommonTool dateFromString:dataStr withFormatStyle:@"yyyy-MM-dd HH:mm:ss"];
    NSLog(@"%@",date);
    NSString *dateStr = [HCCommonTool dateStringFromDate:date withFormatStyle:@"yyyy年MM月dd日 HH:mm"];
    NSLog(@"%@",dateStr);

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
